<!-- 首页》左侧-->
<template>
    <div class="home-cards-cont">
        <template v-for="(item, index) in leftCardGroups1">
            <div
                class="card-group"
                :key="index"
                :is="item.id"
                :orgnizationId="orgnizationId"
                :style="{height:item.height}" 
            ></div>
        </template>
    </div>
</template>

<script>
import CardLogo from "@/components/Cards/CardLogo"; //头部logo
import CardSaftyAssets from "@/components/Cards/CardSaftyAssets"; //安全评估

export default {
    name: "HomeCards",
    components: {
        CardLogo,
        CardSaftyAssets
    },
    data() {
        return {
            leftCardGroups1: this.bsConfig.LeftMenu.cards1,  //单单位卡片
            orgnizationId:this.parames.orgId
        };
    },
    props:{
        parames:{
            type: Object,
            required: true
        }
    },
    computed: {},
    watch: {},
    created: function() {
        //console.log(this.parames)
    },
    methods: {}
};
</script>

<style scoped rel="stylesheet/scss" lang="scss">
    .home-cards-cont{
        width: 100%;
        height: 100%;
        .card-group{
            overflow: hidden;
        }
    }
</style>
